package com.nondo.rdp.finance.model.setting.home;

import com.nondo.rdp.core.domain.attach.Attach;
import com.nondo.rdp.core.domain.base.BaseEntity;

import java.util.List;

/**
 * 模块
 */
public class SettingModuleBean<T> extends BaseEntity {
    private Long id;    //自增ID
    private String title;   //模块名字
    private Attach icon;    //模块icon
    private String moduleType; //模块类型，即模块约定名字，不可更改，slide=幻灯片，education=教育，securityOpen=证券开户
    private int sort; //模块排序
    private int status; //状态，0=开启，1=关闭
    private List<T> content; //对应类型内容,给APP首页展示使用
    private int type; //更多打开类型，0=不展示不操作，1=打开url地址，10=打开分析列表，11=打开分析详情，20=打开课程列表，21=打开课程详情
    private String value; //对应更多打开类型的值
    private int style; //模块展示样式
    private int isShare;//特殊字段，判断是内容是否可以分享，0=不能分享，1=可以分享

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Attach getIcon() {
        return icon;
    }

    public void setIcon(Attach icon) {
        this.icon = icon;
    }

    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<T> getContent() {
        return content;
    }

    public void setContent(List<T> content) {
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getStyle() {
        return style;
    }

    public void setStyle(int style) {
        this.style = style;
    }

    public int getIsShare() {
        return isShare;
    }

    public void setIsShare(int isShare) {
        this.isShare = isShare;
    }
}
